package is.sclab.datastore.entitygroup;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Text;

public class Child {

	private Key Key;
	private String Value1;
	private Text Value2;
	
	public static class Builder{
		
		Key Key;
		String Value1;
		Text Value2;
		
		public Builder(Key Key){
			this.Key=Key;
		}
		
		public Builder Value1(String Value){
			this.Value1=Value;
			return this;
		}
		
		public Builder Value2(Text Value){
			this.Value2=Value;
			return this;
		}
		
		public Child Build(){
			return new Child(this);
		}
	}
	
	private Child(Builder builder) {
		Key=builder.Key;
		Value1=builder.Value1;
		Value2=builder.Value2;
	}
	
	public Key getKey() {
		return Key;
	}
	public void setKey(Key Key) {
		this.Key = Key;
	}
	public String getValue1() {
		return Value1;
	}
	public void setValue1(String value) {
		Value1 = value;
	}

	public Text getValue2() {
		return Value2;
	}
	public void setValue2(Text value2) {
		Value2 = value2;
	}
}
